@@ -329,11 +329,13 @@ MAKE_PASSWORD_HASHER = ''  | 
            ||
| 329 | 329 | 
                 | 
            
| 330 | 330 | 
                # CORS  | 
            
| 331 | 331 | 
                # CORS_ORIGIN_ALLOW_ALL = True  | 
            
| 332 | 
                -CORS_ALLOW_CREDENTIALS = True  | 
            |
| 333 | 332 | 
                CORS_ORIGIN_WHITELIST = (  | 
            
| 334 | 333 | 
                'localhost:8000',  | 
            
| 335 | 
                - '127.0.0.1:8000'  | 
            |
| 334 | 
                + '127.0.0.1:8000',  | 
            |
| 335 | 
                + 'localhost:8080',  | 
            |
| 336 | 
                + '127.0.0.1:8080',  | 
            |
| 336 | 337 | 
                )  | 
            
| 338 | 
                +CORS_ALLOW_CREDENTIALS = True  | 
            |
| 337 | 339 | 
                 | 
            
| 338 | 340 | 
                # 错误信息邮件设置  | 
            
| 339 | 341 | 
                # Email address that error messages come from.  |